cmake_minimum_required(VERSION 3.10)

project(RealScan)

set(CXX_STANDARD 17)
set(CXX_STANDARD_REQUIRED ON)

set(PROJECT_INCLUDES
    ${CMAKE_SOURCE_DIR}
    ${CMAKE_SOURCE_DIR}/utils/
    ${CMAKE_SOURCE_DIR}/underlying/)

# openmp
find_package(OpenMP REQUIRED)

# terrain_generation
add_executable(generate_terrain generate_terrain.cpp)
target_include_directories(generate_terrain PUBLIC ${PROJECT_INCLUDES})
target_link_libraries(generate_terrain PUBLIC OpenMP::OpenMP_CXX)

# eva
add_executable(eva eva.cpp)
target_include_directories(eva PUBLIC ${PROJECT_INCLUDES})
target_link_libraries(eva PUBLIC OpenMP::OpenMP_CXX)